# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=vim-editorconfig
_projname=editorconfig-vim
pkgver=1.1.1_git20230923
_gitrev=0d54ea863089fb13be423b4aed6cca35f3a5d778
pkgrel=0
pkgdesc="EditorConfig plugin for vim written in vimscript only"
url="https://github.com/editorconfig/editorconfig-vim"
arch="noarch"
license="MIT"
source="https://github.com/editorconfig/editorconfig-vim/archive/$_gitrev/$_projname-$_gitrev.tar.gz"
builddir="$srcdir/$_projname-$_gitrev"
options="!check"  # there are no tests

package() {
	local destdir="$pkgdir/usr/share/vim/vimfiles"

	mkdir -p "$destdir"
	cp -r autoload doc ftdetect plugin "$destdir"/
}

sha512sums="
d65fce66448dd78e859ff7a7b02b0e6fc2f30edd8245174c98fab948ebeb085aa611dcff74cbe91addb097fa000a6032e4faf53dbe79746bf6d4735c394ad25d  editorconfig-vim-0d54ea863089fb13be423b4aed6cca35f3a5d778.tar.gz
"
